﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microhard.WeixinMP.Interfaces;
using Microhard.Core;
using System.Web.Mvc;
using Microhard.Core.DBUtility;

namespace Microhard.WeixinMP.Unities
{
    public static class HtmlExtension
    {
        public static List<string> GetArticleType(this HtmlHelper value, ScopeResult scope)
        {
            IArticle iar = IoC.Resolve<IArticle>();
            iar.scope = scope;
            return iar.GetArticleTypes();
        }
    }
}
